import { Module } from '@nestjs/common';
import { StudentCourseService } from './student-course.service';
import { StudentCourseController } from './student-course.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { StudentCourse } from './entities/student-course.entity';
import { LessonsSortModule } from '../lessons-sort/lessons-sort.module';
import { CourseModule } from '../course/course.module';

@Module({
  imports: [
    CourseModule,
    LessonsSortModule,
    TypeOrmModule.forFeature([StudentCourse]),
  ],
  controllers: [StudentCourseController],
  providers: [StudentCourseService],
})
export class StudentCourseModule {}
